import {
	defineConfig
} from 'vite'
import uni from '@dcloudio/vite-plugin-uni' // 引用官方插件

export default defineConfig({
	plugins: [
		uni()
	],
	server: {
		proxy: {
			'/web': {
				 // target: 'http://183.214.199.64:10086',
				target: 'http://172.10.1.111', // 目标服务  
				changeOrigin: true,
				rewrite: path => path.replace(/^\/web/, ''),
			}
		}
	}
})